package club.gskj.gulimall.order.feign;

import club.gskj.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("gulimall-product")
public interface ProductFeignService {

    /***
     *  根据skuId  获取对应的 spu信息
     * @param skuId
     */
    @GetMapping("product/skuinfo/spuInfoBySkuId/{skuId}")
    public R getSpuInfoBySkuId(@PathVariable("skuId") Long skuId);
}
